﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace Game_MVC3.Models
{
    public class GameDbContext : DbContext
    {

        public DbSet<News> NewsList { get; set; }
        public DbSet<Admin> Admins { get; set; }
        public DbSet<Poll> Polls { get; set; }
        public DbSet<PollOption> PollsOptions { get; set; }

        public GameDbContext()
            : base("GameDatabase")
        { }

    }
}